package cn.abk.sys.service.impl;

import cn.abk.basic.service.impl.BaseServiceImpl;
import cn.abk.sys.domain.Datadic;
import cn.abk.sys.domain.Datadic;
import cn.abk.sys.mapper.DatadicMapper;
import cn.abk.sys.service.IDatadicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
* @Description: servics实现类
* @Author: Fill
* @Version: 1.0
* @Date:  19:33 19:33
*/

@Service
@Transactional(readOnly = true, propagation = Propagation.SUPPORTS)
public class DatadicServiceImpl extends BaseServiceImpl<Datadic> implements IDatadicService {


    @Autowired
    private DatadicMapper datadicMapper;






    /**
    * @Title: 增加
    * @Description: 添加默认密码
    * @Author: Fill
    * @Version: 1.0
    * @Date:  19:30 19:30
    * @Parameters: [datadic]
    * @Return void
    */
    @Override
    public void addDept(Datadic datadic) {
        System.err.println(datadic);
        datadicMapper.addDept(datadic);
    }



}
